package com.study.modules.saas.service;

import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

@Service
public class AsyncService {

    @Async("taskExecutor")
    public void sendMassage(){
        System.out.println("线程名称：" + Thread.currentThread().getName());
        System.out.println("发送消息");
    }



}
